Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
watchdog 7 matches patterns with
PurePath.full_match()(relative to the watched directory since 7.1.1), so*.pyno longer matches files in subdirectories. The conserver would stop restarting when a file in a subdirectory changes. The command in the manual installation guide is updated too.uv.lockpins watchdog 6.0.0 today and the dependency is unbounded, so this applies on upgrade.Using
*.py;**/*.pymatches at every depth again and selects the same files as before on watchdog 6, so no version bound is needed.Checked with a live recursive watch on watchdog 6.0.0, 7.1.0 and 7.1.1: the old patterns miss nested files on 7.x, and the new ones report the same files that the old ones did on 6.0.0.
watchmedo shell-command --recursivewith*.pyand*.py;**/*.pybehaved the same way on 6.0.0 and 7.1.1.docker compose configon an equivalent file shows the quoted value reachingwatchmedoas one argument. I did not run this repository's dev stack.